<?php

	if(!$users->is_logged())
	{
		echo(
			'<form method="post" action="">' . PHP_EOL . 
			'	<input type="text" name="Login" />' . PHP_EOL . 
			'	<input type="password" name="Password" />' . PHP_EOL . 
			'	<input type="checkbox" name="Persistence" /> Stay logged in' . PHP_EOL . 
			'	<input type="submit" value="Login" />' . PHP_EOL . 
			'</form>' . PHP_EOL 
		);
	}
	else
	{
		echo(
			'<h3>You are already logged in!  Click <a href="index.php?do=/users/logout">here</a> to logout</h3>' . PHP_EOL 
		);
	}

?>